/**
 * \file crypto/crc32.h
 * \author Davide Gessa
 * \date 11-30-2009
 */
#ifndef CRYPTO_CRC32_H
#define CRYPTO_CRC32_H

#include <types.h>
#include <driver.h>

extern driver_t driver_crc32;

uint32_t crc32_table[256];		///< Tabella dei polinomi generatori

uint32_t crc32_make(uint8_t *, uint32_t);
uint32_t crc32_check(uint32_t, uint8_t *, uint32_t);

#endif
